Skip to content

Fix #15: Include stateless proposals and exclude only rejected ones.#21

Open
Amilton-Portraite wants to merge 1 commit intoopenpoke:mainfrom
Amilton-Portraite:feature/fix-proposal-portraite
Open

Fix #15: Include stateless proposals and exclude only rejected ones.#21
Amilton-Portraite wants to merge 1 commit intoopenpoke:mainfrom
Amilton-Portraite:feature/fix-proposal-portraite

Conversation

@Amilton-Portraite
Copy link

@Amilton-Portraite Amilton-Portraite commented Feb 19, 2026

Replace .except_rejected with left_joins(:proposal_state) + OR condition token IS NULL. Keep the “published” and “only_amendables” filters. Add basic tests to validate the inclusion of stateless proposals. Tested manually in the console.

Closes #15

…d ones.

Replace .except_rejected with left_joins(:proposal_state) + OR condition token IS NULL.
Keep the “published” and “only_amendables” filters.
Add basic tests to validate the inclusion of stateless proposals.
Tested manually in the console.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Extend proposals workflow to include proposals without state (except rejected)

1 participant